package com.bruce.codeFactory.Thread.designMode.ThreadWoker;

/**
 * @author luotuan
 * @Description
 * @create 2019-03-13 22:09
 **/
public class ChannelClient {
    public static void main(String[] args) {
        Channel channel = new Channel(5);
        channel.startWorker();
        new TransportThread("Alex",channel).start();
        new TransportThread("Jack",channel).start();
        new TransportThread("bruce",channel).start();
    }
}
